import fly from '../utils/request'

// 用户登录 fly.请求方式(接口地址，参数对象)
export const login = data => {
    return fly.post('/authorizations',data)
}

// 发送验证码
export const getCaptcha = data => {
    return fly.get(`/sms/codes/${data}`)
}